<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="admin/_fragments :: head(~{::title})">
    <title>博客管理</title>
</head>
<body>
<nav th:replace="admin/_fragments :: menu(0)" class="ui m-bg segment attached m-padded-tb-mini animated fadeInDown m-shadow-small">
    <div class="ui container">
        <div class="ui secondary  stackable menu">
            <a href="#" class="item">
                <h1 class="ui header item m-text-thin" style="color: #ff8080">管理后台</h1>
            </a>
            <a href="#" class="item m-item m-pink m-mobile-hide"><i class="icon home m-pink"></i>博客</a>
            <a href="#" class="item m-item m-pink m-mobile-hide"><i class="idea icon m-pink"></i>分类</a>
            <a href="#" class="item m-item m-pink m-mobile-hide"><i class="tags icon m-pink"></i>标签</a>
            <a href="#" class="item m-item m-pink m-mobile-hide"><i class="linkify icon m-pink"></i>友链</a>
            <div class="right m-item menu m-pink m-mobile-hide">
                <div class="ui dropdown item">
                    <div class="text m-pink">
                        <img src="../../static/img/logo.jpg" class="ui avatar image" alt="">
                        wuhobin
                    </div>
                    <i class="icon dropdown m-pink"></i>
                    <div class="menu m-bg">
                        <a href="#" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui big menu toggle m-pink icon button m-right-top m-mobile-show">
        <i class="sidebar icon"></i>
    </a>
</nav>
<div  class="m-container-small m-padded-tb-big m-bg">
    <div class="ui container m-bg">
        <div class="ui success large m-bg message">
            <h3>Hi,</h3>
            <p th:text="${session.user.nickname}+'欢迎登陆'">李仁密，欢迎登录！</p>
        </div>
        <img th:src="@{${session.user.avater}}" alt="" style="width: 100%; height: 400px;" class="ui rounded bordered fluid image">
    </div>
</div>
<br>
<br>
<!--/*/<th:block th:replace="admin/_fragments :: script">/*/-->
<!--/*/</th:block>/*/-->
</body>
</html>
<script>
    <!-- 移动端导航条   -->
    $(".toggle.menu").click(function (){
        $(".m-item").toggleClass("m-mobile-hide")
    })
    $(".ui.dropdown").dropdown({
        on:'hover'
    });
</script>
